<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
      <p>Package for Handling Single Sign On.</p>
      <p>The following relation between entities:</p>
      
      <pre>
        <code>
            
                                                      --------------       ------------|
                                                      | Project    |       | Customer* |
                                                      --------------       -------------
                                                   -> | id         |   |-- | id        |
                                                   |  | customerId | <-|   -------------
                                                   |  --------------
                                                   |
                                                   |
        ----------     --------     -------------  |  -------------
        | SSO    |     | User |     | UserGroup |  |  | Privileg  |
        ----------     --------     -------------  |  -------------
        | userId | --> | id   | <-- | userId    |  |  | id        | <----
        ----------  |  --------  |- | groupId   |  |- | projectId |     |
                    |            |  -------------     -------------     |
                    |            |                                      |
                    |            |                                      |
                    |            |                                      |
                    |            |  -------------     ----------------- |
                    |            |  | Group     |     | GroupPrivileg | |
                    |            |  -------------     ----------------- |
                    |            -> | id        | <-- | groupId       | |
                    |               -------------     | privilegId    |--
                    |------------|                    -----------------
           --------------------  |
           | UserUserRelation |  |
           --------------------  |
           | userId           | --
           | user**           |
           --------------------

        </code>
      </pre>
      <p>*Customer is imported from de.tabuma.customer.* package.</p>
      <p>**user is the email address of a google user.</p>
      <p>The logik for manipulating the entity are in the same package like the entity. The logik is named after pattern {NameOfEntity}Facade.
  </body>
</html>
